package com.bdv.md.service.impl;

import org.springframework.transaction.annotation.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bdv.md.dao.TxTblDao;
import com.bdv.md.model.TxTbl;
import com.bdv.md.service.TxTblService;

@Service("txTblService")
@Transactional(readOnly = false)
public class TxTblServiceImpl implements TxTblService{

	@Autowired
	TxTblDao txTblDao;
	
	public void saveOrUpdate(TxTbl txTbl) {
		txTblDao.saveOrUpdate(txTbl);
	}

	public void delete(TxTbl txTbl) {
		txTblDao.delete(txTbl);
	}

	public TxTbl findById(String id) {
		return txTblDao.findById(id);
	}

}
